package com.xmy.cultivate.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * <p>
 * 率排除学生
 * </p>
 *
 * @author hpiggy
 * @since 2024-07-27
 */
@TableName("rade_exclude_student")
@ApiModel(value = "RadeExcludeStudent对象", description = "率排除学生")
@Data
public class RadeExcludeStudent implements Serializable {

    private static final long serialVersionUID = 1L;

    @ExcelIgnore
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ExcelIgnore
    private Long classifyId;

    @ExcelProperty(value = "年份", index = 2)
    private Integer yearPart;

    @ExcelIgnore
    private Integer quarterNum;

    @ExcelIgnore
    private String schoolIds;

    @ExcelIgnore
    private String subjectsIds;

    @ExcelIgnore
    private Long studentId;

    @ExcelIgnore
    private Integer type;

//    private String studentName;

    @ExcelIgnore
    private Integer deleted;

    @ExcelIgnore
    private Integer yearClassId;

    @ExcelProperty(value = "头像", index = 0)
    @TableField(exist = false)
    private String headImg;

    @ExcelProperty(value = "校区", index = 4)
    @TableField(exist = false)
    private String schoolName;

    @ExcelProperty(value = "姓名", index = 1)
    @TableField(exist = false)
    private String studentName;

    @ExcelIgnore
    @TableField(exist = false)
    private String schoolId;

    @ExcelProperty(value = "科目", index = 6)
    @TableField(exist = false)
    private String subjectsId;

    @ExcelProperty(value = "年级", index = 5)
    @TableField(exist = false)
    private String yearClassName;

    @ExcelProperty(value = "学期", index = 3)
    @TableField(exist = false)
    private String quarterNumName;
}
